home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / system / manual_p / xinfo_1_.z / xinfo_1_ / Makefile < prev    next >
Encoding:
Makefile  |  1993-05-05  |  10.6 KB  |  343 lines

  1. # Makefile generated by imake - do not edit!
  2. # $XConsortium: imake.c,v 1.65 91/07/25 17:50:17 rws Exp $
  3.  
  4. # -------------------------------------------------------------------------
  5. # Makefile generated from "Imake.tmpl" and <Imakefile>
  6. # $Header: /home/x_cvs/mit/config/Imake.tmpl,v 1.8 1993/01/08 10:11:36 dawes Exp $
  7. # $XConsortium: Imake.tmpl,v 1.139 91/09/16 08:52:48 rws Exp $
  8. #
  9. # Platform-specific parameters may be set in the appropriate <vendor>.cf
  10. # configuration files.  Site-specific parameters should be set in the file
  11. # site.def.  Full rebuilds are recommended if any parameters are changed.
  12. #
  13. # If your C preprocessor does not define any unique symbols, you will need
  14. # to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
  15. # "make World" the first time).
  16. #
  17.  
  18. # -------------------------------------------------------------------------
  19. # site-specific configuration parameters that need to come before
  20. # the platform-specific parameters - edit site.def to change
  21.  
  22. # $Header: /home/x_cvs/mit/config/site.def,v 1.52 1993/02/08 22:11:12 dawes Exp $
  23. # site:  $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
  24.  
  25. # -------------------------------------------------------------------------
  26. # platform-specific configuration parameters - edit x386.cf to change
  27.  
  28. # $Header: /home/x_cvs/mit/config/x386.cf,v 1.59 1993/02/08 22:11:15 dawes Exp $
  29. # platform:  $XConsortium: x386.cf,v 1.7 91/08/16 19:30:10 gildea Exp $
  30.  
  31. # operating system:          Linux     (Usenet)
  32.  
  33. # -------------------------------------------------------------------------
  34. # site-specific configuration parameters that go after
  35. # the platform-specific parameters - edit site.def to change
  36.  
  37. # $Header: /home/x_cvs/mit/config/site.def,v 1.52 1993/02/08 22:11:12 dawes Exp $
  38. # site:  $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
  39.  
  40.             SHELL =     /bin/sh
  41.  
  42.               TOP = .
  43.       CURRENT_DIR = .
  44.  
  45.                AR = ar clq
  46.   BOOTSTRAPCFLAGS =
  47.                CC =         gcc -fwritable-strings -fomit-frame-pointer
  48.                AS = as
  49.  
  50.               LEX =         flex
  51.  
  52.              YACC =         bison -y
  53.  
  54.          COMPRESS = compress
  55.               CPP =         /lib/cpp $(STD_CPP_DEFINES)
  56.     PREPROCESSCMD =     /lib/cpp $(STD_CPP_DEFINES)
  57.           INSTALL =     install
  58.                LD = ld
  59.              LINT = lint
  60.       LINTLIBFLAG = -C
  61.          LINTOPTS = -axz
  62.                LN = ln -s
  63.              MAKE = make
  64.                MV = mv
  65.                CP = cp
  66.  
  67.            RANLIB = ranlib
  68.   RANLIBINSTFLAGS =
  69.  
  70.                RM = rm -f
  71.             TROFF = psroff
  72.          MSMACROS = -ms
  73.               TBL = tbl
  74.               EQN = eqn
  75.      STD_INCLUDES =
  76.   STD_CPP_DEFINES = -traditional         -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE     -Dlinux
  77.       STD_DEFINES =         -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE     -Dlinux
  78.  EXTRA_LOAD_FLAGS =
  79.   EXTRA_LIBRARIES =
  80.              TAGS = ctags
  81.  
  82.     PROTO_DEFINES = -DFUNCPROTO=11 -DNARROWPROTO
  83.  
  84.      INSTPGMFLAGS = -s
  85.  
  86.      INSTBINFLAGS = -m 0755
  87.      INSTUIDFLAGS = -m 4755
  88.      INSTLIBFLAGS = -m 0644
  89.      INSTINCFLAGS = -m 0444
  90.      INSTMANFLAGS = -m 0444
  91.      INSTDATFLAGS = -m 0444
  92.     INSTKMEMFLAGS = -m 4755
  93.  
  94.       PROJECTROOT =     /usr/X386
  95.  
  96.      TOP_INCLUDES = -I$(INCROOT)
  97.  
  98.       CDEBUGFLAGS = -O2
  99.         CCOPTIONS = -m486 -DNO_ASM
  100.     ANSICCOPTIONS =
  101.  
  102.       ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
  103.        ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES)
  104.            CFLAGS = $(ANSICCOPTIONS) $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
  105.         LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
  106.  
  107.            LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
  108.  
  109.         LDOPTIONS = $(ANSICCOPTIONS) $(CDEBUGFLAGS) $(CCOPTIONS) $(LOCAL_LDFLAGS) -L$(USRLIBDIR)
  110.  
  111.    LDCOMBINEFLAGS =     -r
  112.       DEPENDFLAGS =
  113.  
  114.         MACROFILE = x386.cf
  115.            RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut
  116.  
  117.     IMAKE_DEFINES =
  118.  
  119.          IRULESRC = $(CONFIGDIR)
  120.         IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
  121.  
  122.      ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules             $(IRULESRC)/Project.tmpl $(IRULESRC)/site.def             $(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES)
  123.  
  124. # -------------------------------------------------------------------------
  125. # $Header: /home/x_cvs/mit/config/Project.tmpl,v 1.10 1993/02/06 05:14:49 dawes Exp $
  126. # X Window System Build Parameters
  127. # $XConsortium: Project.tmpl,v 1.138.1.1 92/11/11 09:49:19 rws Exp $
  128.  
  129. # -------------------------------------------------------------------------
  130. # X Window System make variables; this need to be coordinated with rules
  131.  
  132.           PATHSEP = /
  133.         USRLIBDIR =     /usr/X386/lib
  134.            BINDIR =     /usr/X386/bin
  135.           INCROOT =     /usr/X386/include
  136.      BUILDINCROOT = $(TOP)
  137.       BUILDINCDIR = $(BUILDINCROOT)/X11
  138.       BUILDINCTOP = ..
  139.            INCDIR = $(INCROOT)/X11
  140.            ADMDIR = /usr/adm
  141.            LIBDIR = $(USRLIBDIR)/X11
  142.         CONFIGDIR = $(LIBDIR)/config
  143.        LINTLIBDIR = $(USRLIBDIR)/lint
  144.  
  145.           FONTDIR = $(LIBDIR)/fonts
  146.          XINITDIR = $(LIBDIR)/xinit
  147.            XDMDIR = $(LIBDIR)/xdm
  148.            TWMDIR = $(LIBDIR)/twm
  149.           MANPATH =     /usr/X386/man
  150.     MANSOURCEPATH = $(MANPATH)/man
  151.         MANSUFFIX = 1x
  152.      LIBMANSUFFIX = 3x
  153.            MANDIR =     $(MANSOURCEPATH)1
  154.         LIBMANDIR = $(MANSOURCEPATH)3
  155.            NLSDIR = $(LIBDIR)/nls
  156.         PEXAPIDIR = $(LIBDIR)/PEX
  157.       XAPPLOADDIR = $(LIBDIR)/app-defaults
  158.        FONTCFLAGS = -t
  159.        LINKKITDIR =     $(USRLIBDIR)/Server
  160.  
  161.      INSTAPPFLAGS = $(INSTDATFLAGS)
  162.  
  163.             IMAKE = imake
  164.            DEPEND = makedepend
  165.               RGB = rgb
  166.  
  167.             FONTC = bdftopcf
  168.  
  169.         MKFONTDIR = mkfontdir
  170.         MKDIRHIER =     /bin/sh $(BINDIR)/mkdirhier
  171.  
  172.         CONFIGSRC = $(TOP)/config
  173.        DOCUTILSRC = $(TOP)/doc/util
  174.         CLIENTSRC = $(TOP)/clients
  175.           DEMOSRC = $(TOP)/demos
  176.            LIBSRC = $(TOP)/lib
  177.           FONTSRC = $(TOP)/fonts
  178.        INCLUDESRC = $(TOP)/X11
  179.         SERVERSRC = $(TOP)/server
  180.           UTILSRC = $(TOP)/util
  181.         SCRIPTSRC = $(UTILSRC)/scripts
  182.        EXAMPLESRC = $(TOP)/examples
  183.        CONTRIBSRC = $(TOP)/../contrib
  184.            DOCSRC = $(TOP)/doc
  185.            RGBSRC = $(TOP)/rgb
  186.         DEPENDSRC = $(SCRIPTSRC)
  187.          IMAKESRC = $(CONFIGSRC)
  188.          XAUTHSRC = $(LIBSRC)/Xau
  189.           XLIBSRC = $(LIBSRC)/X
  190.            XMUSRC = $(LIBSRC)/Xmu
  191.        TOOLKITSRC = $(LIBSRC)/Xt
  192.        AWIDGETSRC = $(LIBSRC)/Xaw
  193.        OLDXLIBSRC = $(LIBSRC)/oldX
  194.       XDMCPLIBSRC = $(LIBSRC)/Xdmcp
  195.       BDFTOSNFSRC = $(FONTSRC)/bdftosnf
  196.       BDFTOSNFSRC = $(FONTSRC)/clients/bdftosnf
  197.       BDFTOPCFSRC = $(FONTSRC)/clients/bdftopcf
  198.      MKFONTDIRSRC = $(FONTSRC)/clients/mkfontdir
  199.          FSLIBSRC = $(FONTSRC)/lib/fs
  200.     FONTSERVERSRC = $(FONTSRC)/server
  201.      EXTENSIONSRC = $(TOP)/extensions
  202.          XILIBSRC = $(EXTENSIONSRC)/lib/xinput
  203.         PEXLIBSRC = $(EXTENSIONSRC)/lib/PEXlib
  204.       PHIGSLIBSRC = $(EXTENSIONSRC)/lib/PEX
  205.  
  206.   DEPEXTENSIONLIB = $(USRLIBDIR)/libXext.a
  207.      EXTENSIONLIB =              -lXext
  208.  
  209.           DEPXLIB = $(DEPEXTENSIONLIB) $(USRLIBDIR)/libX11.a
  210.              XLIB = $(EXTENSIONLIB)              -lX11
  211.  
  212.       DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
  213.          XAUTHLIB =              -lXau
  214.       DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a
  215.          XDMCPLIB =              -lXdmcp
  216.  
  217.         DEPXMULIB = $(USRLIBDIR)/libXmu.a
  218.            XMULIB =              -lXmu
  219.  
  220.        DEPOLDXLIB = $(USRLIBDIR)/liboldX.a
  221.           OLDXLIB =              -loldX
  222.  
  223.       DEPXTOOLLIB = $(USRLIBDIR)/libXt.a
  224.          XTOOLLIB =              -lXt
  225.  
  226.         DEPXAWLIB = $(USRLIBDIR)/libXaw.a
  227.            XAWLIB =              -lXaw
  228.  
  229.         DEPXILIB = $(USRLIBDIR)/libXi.a
  230.            XILIB =              -lXi
  231.  
  232.        DEPPEXLIB = $(USRLIBDIR)/libPEX5.a
  233.           PEXLIB =              -lPEX5
  234.  
  235.         DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a
  236.            PHIGSLIB =              -lphigs
  237.  
  238.        DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
  239.           XBSDLIB =              -lXbsd
  240.  
  241.  LINTEXTENSIONLIB = $(LINTLIBDIR)/llib-lXext.ln
  242.          LINTXLIB = $(LINTLIBDIR)/llib-lX11.ln
  243.           LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
  244.         LINTXTOOL = $(LINTLIBDIR)/llib-lXt.ln
  245.           LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
  246.            LINTXI = $(LINTLIBDIR)/llib-lXi.ln
  247.           LINTPEX = $(LINTLIBDIR)/llib-lPEX5.ln
  248.         LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln
  249.  
  250.           DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
  251.  
  252.          DEPLIBS1 = $(DEPLIBS)
  253.          DEPLIBS2 = $(DEPLIBS)
  254.          DEPLIBS3 = $(DEPLIBS)
  255.  
  256. # -------------------------------------------------------------------------
  257. # Imake rules for building libraries, programs, scripts, and data files
  258. # $Header: /home/x_cvs/mit/config/Imake.rules,v 1.8 1993/02/03 13:01:58 dawes Exp $
  259. # rules:  $XConsortium: Imake.rules,v 1.123 91/09/16 20:12:16 rws Exp $
  260.  
  261. # -------------------------------------------------------------------------
  262. # start of Imakefile
  263.  
  264.         DEFINES = -DUNCOMPRESS=\"gunzip\"
  265.   SYS_LIBRARIES = -lm
  266.         DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
  267. LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
  268.  
  269. SRCS=  xinfo.c Info.c
  270. OBJS=  xinfo.o Info.o
  271.  
  272.  PROGRAM = xinfo
  273.  
  274. all:: xinfo
  275.  
  276. xinfo: $(OBJS) $(DEPLIBS)
  277.     $(RM) $@
  278.     $(CC) -o $@ $(OBJS) $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
  279.  
  280. install:: xinfo
  281.     @if [ -d $(DESTDIR)$(BINDIR) ]; then set +x; \
  282.     else (set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); fi
  283.     $(INSTALL) -c $(INSTPGMFLAGS)  xinfo $(DESTDIR)$(BINDIR)
  284.  
  285. install.man:: xinfo.man
  286.     @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
  287.     else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
  288.     $(INSTALL) -c $(INSTMANFLAGS) xinfo.man $(DESTDIR)$(MANDIR)/xinfo.$(MANSUFFIX)
  289.  
  290. depend::
  291.     $(DEPEND) $(DEPENDFLAGS) -s "# DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS)
  292.  
  293. lint:
  294.     $(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
  295. lint1:
  296.     $(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)
  297.  
  298. clean::
  299.     $(RM) $(PROGRAM)
  300.  
  301. install:: XInfo.ad
  302.     @if [ -d $(DESTDIR)$(XAPPLOADDIR) ]; then set +x; \
  303.     else (set -x; $(MKDIRHIER) $(DESTDIR)$(XAPPLOADDIR)); fi
  304.     $(INSTALL) -c $(INSTAPPFLAGS) XInfo.ad $(DESTDIR)$(XAPPLOADDIR)/XInfo
  305.  
  306. # -------------------------------------------------------------------------
  307. # common rules for all Makefiles - do not edit
  308.  
  309. emptyrule::
  310.  
  311. clean::
  312.     $(RM_CMD) "#"*
  313.  
  314. Makefile::
  315.     -@if [ -f Makefile ]; then set -x; \
  316.     $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
  317.     else exit 0; fi
  318.     $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
  319.  
  320. tags::
  321.     $(TAGS) -w *.[ch]
  322.     $(TAGS) -xw *.[ch] > TAGS
  323.  
  324. # -------------------------------------------------------------------------
  325. # empty rules for directories that do not have SUBDIRS - do not edit
  326.  
  327. install::
  328.     @echo "install in $(CURRENT_DIR) done"
  329.  
  330. install.man::
  331.     @echo "install.man in $(CURRENT_DIR) done"
  332.  
  333. install.linkkit::
  334.     @echo "install.linkkit in $(CURRENT_DIR) done"
  335.  
  336. Makefiles::
  337.  
  338. includes::
  339.  
  340. # -------------------------------------------------------------------------
  341. # dependencies generated by makedepend
  342.  
  343.